package com.student.db;

import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "db_payment")
public class PaymentEntity {
    @NonNull
    @PrimaryKey
    private Long id;
    //维修东西 1:水费  2:电费
    private int payType;
    //宿舍号
    private String roomNo;
    //缴费金额
    private String payment;
    //缴费时间
    private String payTime;
    //哪个账号提交的
    private String username;

    private String name;
    // 0:缴费未审批  1:缴费审批
    private int payStatus;
    private String payStatusTime;

    @NonNull
    public Long getId() {
        return id;
    }

    public void setId(@NonNull Long id) {
        this.id = id;
    }

    public int getPayType() {
        return payType;
    }

    public void setPayType(int payType) {
        this.payType = payType;
    }

    public String getRoomNo() {
        return roomNo;
    }

    public void setRoomNo(String roomNo) {
        this.roomNo = roomNo;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(int payStatus) {
        this.payStatus = payStatus;
    }

    public String getPayStatusTime() {
        return payStatusTime;
    }

    public void setPayStatusTime(String payStatusTime) {
        this.payStatusTime = payStatusTime;
    }
}
